package com.quectel.core.module.partyeducationtraining.dto.ref;

import com.quectel.core.module.partyeducationtraining.dto.TrainingDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @author rananxin
 * @email ryan.ran@quectel.com
 * @date 2022/5/24 17:49
 */
@Data
@Schema
@EqualsAndHashCode(callSuper=true)
public class TrainingRefConcourseDto extends TrainingDto implements Serializable {

    /**
     * 人员id
     */
    @Schema(description = "人员id")
    private Long personId;

    /**
     * 0-100
     */
    @Schema(description = "完成百分比")
    private Byte completeRate;

    /**
     * 心得提交 0 未提交 1 已提交
     */
    @Schema(description = "心得提交 0 未提交 1 已提交")
    private Byte experienceSubmitted;

    /**
     * 评价提交 0 未提交 1 已提交
     */
    @Schema(description = "评价提交 0 未提交 1 已提交")
    private Byte commentSubmitted;

    /**
     * 开始学习时间
     */
    @Schema(description = "开始学习时间")
    private Date studyStartTime;

    /**
     * 结束学习时间
     */
    @Schema(description = "结束学习时间")
    private Date studyEndTime;

    /**
     * 课时名称
     */
    @Schema(description = "人员名称")
    private String personName;
}
